package com.hanhai.zrb.backend.admin.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户角色表
 */
public class BackUserRole implements Serializable {

	private static final long serialVersionUID = -155316718316268485L;

	private Long id;

	private Date version;

	/**
	 * 用户
	 */
	private BackUser user;

	/**
	 * 角色
	 */
	private Role role;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getVersion() {
		return version;
	}

	public void setVersion(Date version) {
		this.version = version;
	}

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	public BackUser getUser() {
		return user;
	}

	public void setUser(BackUser user) {
		this.user = user;
	}
}
